package com.itluma.myshopping.dao;

import com.itluma.myshopping.entity.CartPro;
import com.itluma.myshopping.entity.Product;


import java.lang.reflect.InvocationTargetException;
import java.sql.SQLException;
import java.util.List;

public interface CartDao{



    /**
     * 根据用户名查找购物车数据
     *
     * @param uid
     * @return
     */
    List<CartPro> findByUid(String uid) throws SQLException, InvocationTargetException, IllegalAccessException;


    Product find(String uid);

}
